// Author     : Leo King
// CreateDate : 2014/6/3 10:44:01
// CopyRight  : CopyRight @lktec 2013~2015
// Site       : http://www.lktec.cn
// Version    : 1.0.0.1

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;

namespace yc.Dal
{
	/// <summary>
	/// 公司招聘
	/// </summary>
	public partial class SysCompanyEmployee
	{
		#region 初始化
		public SysCompanyEmployee()
		{
		}
		#endregion

		#region 基本属性

		/// <summary>
		/// 系统编号
		/// </summary>
		[Display(Name = "系统编号")]
		[Key, ScaffoldColumn(false)]
		public long ID { get; set; }

		/// <summary>
		/// 公司编号
		/// </summary>
		[Display(Name = "公司编号")]
		public Nullable<long> CID { get; set; }

		/// <summary>
		/// 职位名称
		/// </summary>
		[Display(Name = "职位名称")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Caption { get; set; }

		/// <summary>
		/// 招聘人数
		/// </summary>
		[Display(Name = "招聘人数")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string MaxMen { get; set; }

		/// <summary>
		/// 户籍要求
		/// </summary>
		[Display(Name = "户籍要求")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string HouseholdRequirements { get; set; }

		/// <summary>
		/// 性别
		/// </summary>
		[Display(Name = "性别")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Gender { get; set; }

		/// <summary>
		/// 年龄(从)
		/// </summary>
		[Display(Name = "年龄(从)")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string AgeFrom { get; set; }

		/// <summary>
		/// 年龄(到)
		/// </summary>
		[Display(Name = "年龄(到)")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string AgeTo { get; set; }

		/// <summary>
		/// 学历
		/// </summary>
		[Display(Name = "学历")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Education { get; set; }

		/// <summary>
		/// 薪资待遇
		/// </summary>
		[Display(Name = "薪资待遇")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string Salery { get; set; }

		/// <summary>
		/// 薪资机制
		/// </summary>
		[Display(Name = "薪资机制")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string SaleryType { get; set; }

		/// <summary>
		/// 试用期工资
		/// </summary>
		[Display(Name = "试用期工资")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string TrailSalery { get; set; }

		/// <summary>
		/// 试用期
		/// </summary>
		[Display(Name = "试用期")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string TrailMonth { get; set; }

		/// <summary>
		/// 工作时间
		/// </summary>
		[Display(Name = "工作时间")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string WorkingHours { get; set; }

		/// <summary>
		/// 工作方式
		/// </summary>
		[Display(Name = "工作方式")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string WayOfWorking { get; set; }

		/// <summary>
		/// 休息方式
		/// </summary>
		[Display(Name = "休息方式")]
		[StringLength(20, ErrorMessage = "{0}长度不能大于{1}")]
		public string WayOfRelaxing { get; set; }

		/// <summary>
		/// 工作要求
		/// </summary>
		[Display(Name = "工作要求")]
		[StringLength(500, ErrorMessage = "{0}长度不能大于{1}")]
		public string JobRequirements { get; set; }

		/// <summary>
		/// 薪资描述
		/// </summary>
		[Display(Name = "薪资描述")]
		[StringLength(500, ErrorMessage = "{0}长度不能大于{1}")]
		public string SalaryDescription { get; set; }

		/// <summary>
		/// 工作地点
		/// </summary>
		[Display(Name = "工作地点")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Workplace { get; set; }

		/// <summary>
		/// 工作内容
		/// </summary>
		[Display(Name = "工作内容")]
		[StringLength(500, ErrorMessage = "{0}长度不能大于{1}")]
		public string Description { get; set; }

		/// <summary>
		/// 发布时间
		/// </summary>
		[Display(Name = "发布时间")]
		public Nullable<System.DateTime> PublishDate { get; set; }

		#endregion

		#region 复合属性
		/// <summary>
		/// 公司信息
		/// </summary>
		[Display(Name = "公司信息")]
		public virtual SysCompany SysCompany { set; get; }

		#endregion
	}
}
